package sz.com.postoffice.jxyzwgcase.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import sz.com.postoffice.jxyzwgcase.dao.BaseDao;
import sz.com.postoffice.jxyzwgcase.dao.master.CollectCustomerDao;
import sz.com.postoffice.jxyzwgcase.pojo.CollectStatisticsByMonthByCustomer;
import sz.com.postoffice.jxyzwgcase.service.CollectCustomerService;

/**
 * @ClassName DailyIncomeServcieImpl
 * @Deacription 日收入逻辑处理层
 * @Author jmx
 * @Date 2020/11/12 16:16
 * @Version 1.0
 **/
@Service
public class CollectCustomerServcieImpl extends BaseServiceImpl<CollectStatisticsByMonthByCustomer> implements CollectCustomerService {
    @Resource
    private CollectCustomerDao collectCustomerDao;
    @Override
    protected BaseDao<CollectStatisticsByMonthByCustomer> getMapper() {
        return this.collectCustomerDao;
    }
    
	@Override
	public List<CollectStatisticsByMonthByCustomer> collectData(String id) {

		return collectCustomerDao.collectData(id);
	}
}
